package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.TeacherEntity;
import java.util.List;

public interface TeacherService extends IService<TeacherEntity> {
    boolean addTeacher(TeacherEntity teacherEntity);

    boolean deleteTeacher(Integer teacherId);

    boolean updateTeacher(TeacherEntity teacherEntity);

    TeacherEntity getTeacherById(Integer teacherId);

    List<TeacherEntity> getAllTeachers();

    TeacherEntity login(String username, String password);
}
